# coding:utf-8
__author__ = 'fang'
__date__ = '2017/5/22 0022 10:59'

from django.conf.urls import url,include
from . import views

urlpatterns = [
    url(r'^index/$',views.index),
    url(r'^article/(?P<article_id>[0-9]+)$', views.article_page,name='article_page'),
    url(r'^edit/(?P<article_id>[0-9]+)$',views.edit_page,name='edit_page'),
    url(r'^edit/action/$',views.edit_action,name='edit_action'),
    url(r'^delete/(?P<article_id>[0-9]+)$',views.delete,name='delete'),
    url(r'^search/$', views.search_action, name='search_action'),
    # url(r'^edit/(?P<article_id>[0-9]+)$', views.modify, name='modify'),
    # url(r'^edit/action/(?P<article_id>[0-9]+)$', views.modify_res,name='modify_res'),

]